//
//  MemberModel.m
//  Shengzhuli
//
//  Created by FXGuo on 2018/1/27.
//  Copyright © 2018年 kamangkeji. All rights reserved.
//

#import "MemberModel.h"

@implementation MemberModel

- (instancetype)initWithDict:(NSDictionary *)dict
{
    if (self = [super init]) {
        self.ID = dict[@"id"];
        self.memberId = dict[@"memberId"];
        self.memberMoney = [dict[@"memberMoney"] floatValue];
        self.memberName = dict[@"memberName"];
        self.memberRecommend = dict[@"memberRecommend"];
    }
    return self;
}

+ (instancetype)objectWithDict:(NSDictionary *)dict
{
    return [[MemberModel alloc]initWithDict:dict];
}

@end
